--- title: Style Props metaDescription: 'CSS Style Props that are available on every Amplify UI component' supportedFrameworks: react --- import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; import { Fragment } from '@/components/Fragment'; export async function getStaticPaths() { return getCustomStaticPath(frontmatter.supportedFrameworks); } {/* `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */} export async function getStaticProps() { return { props: {} } } {({ platform }) => import(`./style-props.${platform}.mdx`)}